/*
* Conditions Of Use
*
* This software was developed by employees of the Sigmatrix(Beijing) Corporation.
* This software is provided by sigmatrix as a service and is expressly
* provided "AS IS."  Sigmatrix MAKES NO WARRANTY OF ANY KIND, EXPRESS, IMPLIED
* OR STATUTORY, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTY OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT
* AND DATA ACCURACY.  Sigmatrix does not warrant or make any representations
* regarding the use of the software or the results thereof, including but
* not limited to the correctness, accuracy, reliability or usefulness of
* the software.
*
* Permission to use this software is contingent upon your acceptance
* of the terms of this agreement.
*
*/
package com.sigmatrix.h5.web.args;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.sigmatrix.h5.enums.ShopType;

import io.swagger.annotations.ApiModelProperty;

/**
 *@ClassName: RegistTerminalShopParam
 *@Description: 注册终端门店参数
 *@author MH
 *@date 2017年8月16日 上午9:52:18
 */


public class RegistTerminalShopParam implements Serializable{
	
	private static final long serialVersionUID = 2062103779395573410L;
	
	@ApiModelProperty("account，非空")
	private String account;
	
	@ApiModelProperty("openID，非空")
	private String openId;
	
	@ApiModelProperty("产品ID，非空")
	private Integer productId;
	
	@ApiModelProperty("终端店名称，非空")
	private String name;
	
	@ApiModelProperty("推广码，非空")
	private String promotionCode;
	
	@ApiModelProperty("箱码，非空")
	private Long seqNum;
	
	@ApiModelProperty("二维码内容")
	private String tagCode;
	
	@ApiModelProperty("域名，非空")
	private String domain;
	
	@ApiModelProperty("二级域名，非空")
	private String subDomain;
	
	@ApiModelProperty("联系人，非空")
	private String contact;
	
	@ApiModelProperty("联系电话，非空")
	private String mobilePhone;
	
	@ApiModelProperty("营业执照")
	private String licenssCode;
	
	@ApiModelProperty("省份，同步国家统计局")
	private Integer province;
	
	@ApiModelProperty("城市，同步国家统计局")
	private Integer city;
	
	@ApiModelProperty("区县代码，同步国家统计局")
	private Integer citySubOrdinate;
	
	@ApiModelProperty("地址")
	private String address;
	
	@ApiModelProperty("开始时间")
	private Date startTime;
	
	@ApiModelProperty("结束时间")
	private Date endTime;
	
	@ApiModelProperty("备注")
	private String remarks;
	
	@ApiModelProperty("终端门店类型，默认为杂货店")
	private ShopType shopType;

	@ApiModelProperty("经度")
	private String lat;//经度
	
	@ApiModelProperty("纬度")
	private String lng;//纬度
	
	@ApiModelProperty("密码")
	private String passWord;//密码
	
	@ApiModelProperty("smallOpenId，小程序反向注册使用")
	private String smallOpenId;
	
	@JsonIgnore
	private Integer rebateActivityId;
	@JsonIgnore
	public String getUrlDomain(){
		return this.domain+"/"+this.subDomain;
	}
	
	/**
	 *@return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 *@param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 *@return the promotionCode
	 */
	public String getPromotionCode() {
		return promotionCode;
	}

	/**
	 *@param promotionCode the promotionCode to set
	 */
	public void setPromotionCode(String promotionCode) {
		this.promotionCode = promotionCode;
	}

	/**
	 *@return the contact
	 */
	public String getContact() {
		return contact;
	}

	/**
	 *@param contact the contact to set
	 */
	public void setContact(String contact) {
		this.contact = contact;
	}

	/**
	 *@return the mobilePhone
	 */
	public String getMobilePhone() {
		return mobilePhone;
	}

	/**
	 *@param mobilePhone the mobilePhone to set
	 */
	public void setMobilePhone(String mobilePhone) {
		this.mobilePhone = mobilePhone;
	}

	/**
	 *@return the licenssCode
	 */
	public String getLicenssCode() {
		return licenssCode;
	}

	/**
	 *@param licenssCode the licenssCode to set
	 */
	public void setLicenssCode(String licenssCode) {
		this.licenssCode = licenssCode;
	}

	/**
	 *@return the province
	 */
	public Integer getProvince() {
		return province;
	}

	/**
	 *@param province the province to set
	 */
	public void setProvince(Integer province) {
		this.province = province;
	}

	/**
	 *@return the city
	 */
	public Integer getCity() {
		return city;
	}

	/**
	 *@param city the city to set
	 */
	public void setCity(Integer city) {
		this.city = city;
	}

	/**
	 *@return the citySubOrdinate
	 */
	public Integer getCitySubOrdinate() {
		return citySubOrdinate;
	}

	/**
	 *@param citySubOrdinate the citySubOrdinate to set
	 */
	public void setCitySubOrdinate(Integer citySubOrdinate) {
		this.citySubOrdinate = citySubOrdinate;
	}

	/**
	 *@return the startTime
	 */
	public Date getStartTime() {
		return startTime;
	}

	/**
	 *@param startTime the startTime to set
	 */
	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	/**
	 *@return the endTime
	 */
	public Date getEndTime() {
		return endTime;
	}

	/**
	 *@param endTime the endTime to set
	 */
	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	/**
	 *@return the remarks
	 */
	public String getRemarks() {
		return remarks;
	}

	/**
	 *@param remarks the remarks to set
	 */
	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	/**
	 *@return the openId
	 */
	public String getOpenId() {
		return openId;
	}

	/**
	 *@param openId the openId to set
	 */
	public void setOpenId(String openId) {
		this.openId = openId;
	}

	/**
	 *@return the address
	 */
	public String getAddress() {
		return address;
	}

	/**
	 *@param address the address to set
	 */
	public void setAddress(String address) {
		this.address = address;
	}

	/**
	 *@return the seqNum
	 */
	public Long getSeqNum() {
		return seqNum;
	}

	/**
	 *@param seqNum the seqNum to set
	 */
	public void setSeqNum(Long seqNum) {
		this.seqNum = seqNum;
	}

	/**
	 *@return the tagCode
	 */
	public String getTagCode() {
		return tagCode;
	}

	/**
	 *@param tagCode the tagCode to set
	 */
	public void setTagCode(String tagCode) {
		this.tagCode = tagCode;
	}

	/**
	 *@return the domain
	 */
	public String getDomain() {
		return domain;
	}

	/**
	 *@param domain the domain to set
	 */
	public void setDomain(String domain) {
		this.domain = domain;
	}

	/**
	 *@return the subDomain
	 */
	public String getSubDomain() {
		return subDomain;
	}

	/**
	 *@param subDomain the subDomain to set
	 */
	public void setSubDomain(String subDomain) {
		this.subDomain = subDomain;
	}

	/**
	 *@return the productId
	 */
	public Integer getProductId() {
		return productId;
	}

	/**
	 *@param productId the productId to set
	 */
	public void setProductId(Integer productId) {
		this.productId = productId;
	}

	/**
	 *@return the account
	 */
	public String getAccount() {
		return account;
	}

	/**
	 *@param account the account to set
	 */
	public void setAccount(String account) {
		this.account = account;
	}

	public ShopType getShopType() {
		return shopType;
	}

	public void setShopType(ShopType shopType) {
		this.shopType = shopType;
	}

	public String getLat() {
		return lat;
	}

	public void setLat(String lat) {
		this.lat = lat;
	}

	public String getLng() {
		return lng;
	}

	public void setLng(String lng) {
		this.lng = lng;
	}

	public Integer getRebateActivityId() {
		return rebateActivityId;
	}

	public void setRebateActivityId(Integer rebateActivityId) {
		this.rebateActivityId = rebateActivityId;
	}

	public String getPassWord() {
		return passWord;
	}

	public void setPassWord(String passWord) {
		this.passWord = passWord;
	}

	public String getSmallOpenId() {
		return smallOpenId;
	}

	public void setSmallOpenId(String smallOpenId) {
		this.smallOpenId = smallOpenId;
	}

}
